public class Test {
    public  void main(String[] args) {
        //搞清楚使用接口的好处
        driver a = new A();
        a.driver();

    }


    class A extends Studnet implements driver,singer{

        @Override
        public void driver() {
        }

        @Override
        public void singer() {
        }
    }

    class Studnet{

    }

    interface driver{
        void driver();
    }

    interface singer{
        void singer();
    }
}
